package com.service;

import com.dao.GoodsDao;
import com.dao.OrderDao;
import com.entity.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuronghua
 * @version 1.0
 * @data 2020-09-2020/9/26 19:14
 * @desc
 */

@Service
public class OrderService {
    @Autowired
    private OrderDao orderDao;

    public List<Order> getList(){
        return orderDao.selectList();
    }
}
